//==================================
// [] The PlutoEA Project []
// http://opensvn.csie.org/PlutoEA
// ---------------------------------
// - Ÿ ȸ} - 
//===================================
// G1.5
//====================================
//= *Lh (Mk)
//=   y: -ŸKOf 4
//=	    -iϥ [ ] ײz˳
//= *֤ŦH (ŸʤOӷ)
//=   y: -򥻸g 200,000
//=	      -¾~g 10,000
//====================================

//====================================
// Lh (Mk)
//====================================

//==ͦ] ƨC==

airplane,47,61,1	script	խ	833,{
	if(kain_ticket==4) {
		mes "[ͦ] ƨC]";
		mes "[e@ȫȦbŸ̧ѰOaALO㭵ùJ~AeXѥLqܨ쭸Ÿ줽ǽT{";
		mes "LLơAK˦۹Lӻ";
		next;
		mes "[ͦ] ƨC]";
		mes "ȫȦWrs}c AثeJb㭵ùJ..";
		next;
		mes "[ͦ] ƨC]";
		mes "·ЧAeLaAFڷ|F@I߷N";
		next;
		mes "[ͦ] ƨC]";
		mes "-^3355FFAoF@^000000-";
		mes "-^3355FF]˦np]qF^000000-";
		set kain_ticket,5;
		close;
	}
	mes "[ͦ] ƨC]";
	mes "AnܡAڬOo[ŸխAڥsͦ] ƨCǡApfŸ󤣫KBɡAЦVڤa";
	next;
	switch (kain_ticket) {
	case 0:
	case 1:
	case 2:
		switch( select( "߰ݦŸƱ:ڭnd" )) {
		case 1:
			switch (kain_ticket) {
			case 0:
				set kain_ticket,1;
				mes "[ͦ] ƨC]";
				mes "аݧAOAĤ@ѪŶ?";
				mes ".. o]OAQ_ڲĤ@fŸɡA";
				mes "]D`iOAS";
				next;
				mes "[ͦ] ƨC]";
				mes "iDAoӰaޡAgF@}ʪoi";
				next;
				mes "[ͦ] ƨC]";
				mes "ťAc--̼w[ꪺʩmA";
				mes "L̷|IiUطs_]kA";
				mes "յ۩MӪFͬܿĬO";
				next;
				mes "[ͦ] ƨC]";
				mes "ڭ̨qoow@M֦̾\hǪ̡̭A";
				mes "ǥ'֪H'AsyXѪŪA";
				mes "åiHCUӧF";
				next;
				mes "[ͦ] ƨC]";
				mes "ŸkMqoowA";
				mes "㦳NǤOۻ]ƤF";
				next;
				select "аݨSŸH~qu?";
				mes "[ͦ] ƨC]";
				mes "oӹ...㭵M㭵ùJpۡA";
				mes "~AuaAdjLF?!";
				close;
			case 1:
				set kain_ticket,2;
				mes "[ͦ] ƨC]";
				mes "A٭nŸGư?.. oӶܡA";
				mes "ڤ]DӦhŸGƭC";
				next;
				mes "[ͦ] ƨC]";
				mes "oa@ej~A";
				mes "ťWҤj|~HC";
				next;
				mes "[ͦ] ƨC]";
				mes "ťŸ]Oa~Һ޲z줧@C.. ";
				mes "ڷQtdg@ӰanqB骺ܡA";
				mes "@wiH۷i[qO?";
				mes "uOr}!! ";
				close;
			case 2:
				mes "[ͦ] ƨC]";
				mes "..AٷQťŸGư?A惡u߭CLAڦnwgSiHiDAGƤF";
				next;
				mes "[ͦ] ƨC]";
				mes "ڬݧAܪܦժǪ̡AhJӰŸs|nO. ..LO..";
				next;
				mes "[ͦ] ƨC]";
				mes "...";
				next;
				mes "[ͦ] ƨC]";
				mes "аݧAAw.. ?SšAiHť@UڻGƶ?";
				next;
				switch( select("ڵťG:ťG" )) {
				case 1:
					mes "[ͦ] ƨC]";
					mes "ڰڡAOܡAAΤnN䪺աA";
					mes "ڹ@즣Ȧ檺ȫȳMdFAo[A";
					mes "ϦڷP줣nNڡAAObN";
					close;
				case 2:
					mes "[ͦ] ƨC]";
					mes "u§A....CѱۥL̷fŸAV}ݪŶڥX}BAySXRƱ檺ɡAڳoӦѤHaotW..";
					next;
					mes "[ͦ] ƨC]";
					mes "ڴO@ӦK㭵ùJjA㭵qu";
					next;
					mes "[ͦ] ƨC]";
					mes "ɧڬO誺@ӥZ~quAکMڪPƭ̧ҦƱAHUb⪺QrW";
					next;
					mes "[ͦ] ƨC]";
					mes "ڱqoesaWAPۤ@ѷqȤߡAVOaUhF";
					next;
					mes "[ͦ] ƨC]";
					mes "AD? 㭵q߬Ʀܩ쨺c--̼w[ꧮǥ sߤWAnӥB귽D`״I";
					next;
					mes "[ͦ] ƨC]";
					mes "op㭵AoqߥD_F@";
					next;
					mes "[ͦ] ƨC]";
					mes "ODq@Ѷ}lA㭵vB\_FXautӡAĻ㭵qu̩ұĨ쪺qAjBeuthFA";
					mes "utϧwұƥXNqӨSL..";
					next;
					mes "[ͦ] ƨC]";
					mes "䤤XPƱ˱FMIqu@AO@ܸwutu@}Fqs..";
					next;
					mes "[ͦ] ƨC]";
					mes "uO!!!ڤӳwL̡AڷQzL̬n󴿸g@PyHIİNqAMॢmImj۵MiO!?";
					next;
					mes "[ͦ] ƨC]";
					mes "...............";
					next;
					mes "[ͦ] ƨC]";
					mes "iOAL[ڤ]SL̤FAڤ]㱼quu@FA]XƤFA..ڪu˫{b٤jϳ..";
					next;
					select "ڷQO@YƱa";
					mes "[ͦ] ƨC]";
					mes "S.. nQJQKha@뵴zF...";
					next;
					mes "[ͦ] ƨC]";
					mes "Yϳo˧ڹojaORPOA]ڴgiLAMڿFAoOoѪgF";
					next;
					mes "[ͦ] ƨC]";
					mes "ڪGƦnIDDF...گuQGƤOoӡAt~٦O";
					next;
					mes "[ͦ] ƨC]";
					mes "ɧکqu@ɶˤ߷FAڨ]No˯}HF";
					next;
					mes "[ͦ] ƨC]";
					mes "hquLLkQ..ڥunCѭɰsTA..{b^Q_ӫᮬ..";
					mes "ڧڪd˩MobaHWAåDL̶ťڵӵJ檺n";
					next;
					mes "[ͦ] ƨC]";
					mes "OAڪaH...ڪӤӤ@_awڡA.. ڡAڧJPˤӵLk۩ޡA|oű";
					next;
					mes "[ͦ] ƨC]";
					mes "................................";
					next;
					mes "[ͦ] ƨC]";
					mes "......ڪӤӬFU]ӷKaکMaxAGͤFfUکM~kNoˤWѰhF..";
					next;
					mes "[ͦ] ƨC]";
					mes "ӧڥhӤӫҮwALɤwߡAhӤӥMd˪ڦAǤUFʤѤjo";
					next;
					mes "[ͦ] ƨC]";
					mes "NOڧkফIOHAk`@ˡAtFax....";
					next;
					mes "[ͦ] ƨC]";
					mes "qڴNBL۷KaͬA줵ѷfWŸALF20l~..ڬƦܳsk઺WrO_ӤFA";
					mes "ڦܤsǤFOA~H...";
					next;
					select "аݧAkثebO?";
					next;
					mes "[ͦ] ƨC]";
					mes "ڤ]MCAڤ[ehLIk઺aAiODHwgF.....uLAYϧڲ{bMk۹JFA";
					mes "ڭyboeo_YөO...";
					next;
					mes "[ͦ] ƨC]";
					mes ".. ڪGƨ즹աAuO@mHͬGưڡA§AťAڭ̥uLXӤwګ|A_oGƩO..";
					next;
					mes "[ͦ] ƨC]";
					mes "FAаݧAnh̩O?";
					next;
					switch( select( "㭵ùJ:" )) {
					case 1:
						set kain_ticket, 4;
						mes "["+strcharinfo(0)+"]";
						mes "ڭnh㭵ùJ";
						next;
						mes "[ͦ] ƨC]";
						mes "AOu!.. ";
						mes "ڥiHUA@Ʊ?";
						mes "ЧAy@U..";
						close;
					case 2:
						set kain_ticket,3;
						mes "["+strcharinfo(0)+"]";
						mes "ڭnh";
						next;
						mes "[ͦ] ƨC]";
						mes "O.. ڦne㭵ùJF..";
						mes "ϥ§AťڪGơAAȳ~ro";
						close;
					}
				}
			}
		case 2:
			mes "[ͦ] ƨC]";
			mes "QdܡAв{bdA";
			mes "YndܡAпJ'0'";
			next;
			input @comment$;
			if (@comment$ == "0") {
				mes "[ͦ] ƨC]";
				mes "ڬݧAS!";
				mes "Aȳ~r֤F..";
				close;
			} else {
				mes "["+strcharinfo(0)+"]";
				mes ""+@comment$+".";
				next;
				mes "[ͦ] ƨC]";
				mes ".. OܡAکդFA";
				mes "ڷ|WϬM";
				close;
			}
		}
	case 3:
		mes "[ͦ] ƨC]";
		mes "AAnܡA.. ڷQUA@ƱA";
		mes "аݧAnh̩O?";
		next;
		switch( select( "㭵ùJ:" )) {
		case 1:
			set kain_ticket, 4;
			mes "["+strcharinfo(0)+"]";
			mes "ڭnh㭵ùJ";
			next;
			mes "[ͦ] ƨC]";
			mes "AOu!.. ";
			mes "ڥiHUA@Ʊ?";
			mes "ЧAy@U..";
			close;
		case 2:
			mes "["+strcharinfo(0)+"]";
			mes "ڭnh";
			next;
			mes "[ͦ] ƨC]";
			mes "O.. ڦne㭵ùJF..";
			mes "ϥ§AťڪGơAAȳ~ro";
			close;
		}
	default:
		mes "[ͦ] ƨC]";
		mes " .. ڤѦnArr.. аݧAFnne춺F?!ȤH!ЧA@U!!!";
		next;
		mes "- ^3355FFLݨӫܦLSŻܪˤl^000000 -";
		close;
	case 10:
		mes "[ͦ] ƨC]";
		mes "w{AаݧAF趶QeF?";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "SCA]Lba..ҥHڲ{bFAٵA";
		next;
		mes "[ͦ] ƨC]";
		mes "iHo˩O..ȤH]uO.. UFڳbaAAo˧ګܬCAupAն]F@";
		next;
		switch( select( "аݧAD'quq'?:аݧAOo''oӦWr?" )) {
		case 1:
			mes "[ͦ] ƨC]";
			mes "'quq'.. nhqWڡA";
			mes "oOڦ~ɱ`۪qO";
			next;
			mes "[ͦ] ƨC]";
			mes "ڷQ_ڰ۵'quq'ɡA";
			mes "ڤkN]LӡA";
			mes "Φn_ߪpݵۧګNHڰ";
			break;
		case 2:
			mes "[ͦ] ƨC]";
			mes ".. .. ...";
			mes "nbťL..";
			mes "Oְ?";
			break;
		}
		mes "["+strcharinfo(0)+"]";
		mes "ڦb㭵ùJJ@쥻apkĥ۵'quq'O";
		mes "[ͦ] ƨC]";
		mes ".. OӤpkİ۵quq.. ";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "ӤpkĪ˦WrsAťquqOzL˾Ƿ|";
		mes "[ͦ] ƨC]";
		mes ".. quqӥuO@qu̩Ұ۪.. uOƩ_";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "ApjnOq˦bۺqɾǷ|A]pɫAӰOo˪eF..";
		next;
		mes "[ͦ] ƨC]";
		mes "!!";
		next;
		mes "[ͦ] ƨC]";
		mes "DO.... Ѱ...";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "ڲ{b٤OܽTwաASkiHҩOO@aHO?";
		next;
		mes "[ͦ] ƨC]";
		mes "...ڱjPıڴOaˡAYϻPaHۨ]LkT{OOaH ..";
		next;
		mes "[ͦ] ƨC]";
		mes "ڡAF!ڦbܤ[HeY@ѡA}ɧڧa̪X˪FAIæb㭵@ʾ𩳤U";
		next;
		mes "[ͦ] ƨC]";
		mes "MڤOoO@ʾF..OҮIêF褧A@OڤӤӪOï";
		next;
		mes "[ͦ] ƨC]";
		mes "ڤӤӬOܲӤߪHAڬ۫HO֩wOk઺ƱAbܩpAA]DڤK}ŸA";
		next;
		mes "[ͦ] ƨC]";
		mes "AiHڥh@UOïAT{oOOڤkn?UAF";
		set kain_ticket, 11;
		close;
	case 11:
	case 12:
		mes "[ͦ] ƨC]";
		mes "ڤӤӪOïAӮIb ^3131FF㭵O^000000Y@ʤUAЧAڧAT{OOڤka";
		close;
	case 13:
		mes "^3355FFYou better fulfill Kain's request to find his wife's journal in Einbech before you speak to him again.^000000";
		close;
	case 14:
		if (countitem(7276)) {
			mes "- A֪ϫHM-";
			mes "- ӤӪOï浹FLA-";
			mes "- çiLk઺Wrs-";
			mes "- Aثeb-";
			mes "- 㭵ùJu@";
			next;
			mes "-ͦ]ۨߡAyUF-";
			mes "-Pت\AAa-";
			mes "-ŸݪLAûLӻH-";
			mes "-Hw -";
			next;
			mes "[ͦ] ƨC]";
			mes "ڰڡAoǧڥǤUj~|pĦYɭWYASQooSI..";
			next;
			mes "[ͦ] ƨC]";
			mes "R.. pݨF?pگɨoj֮? ګܹ藍_p...y..";
			next;
			mes "[ͦ] ƨC]";
			mes "~HAڳoAܤjHrAD`§AAiڥuOVYWFҳѤhAH^ڹAOpA";
			mes "ڷ|ûVë֧AjBAu§A!";
			delitem 7276, 1;
			set kain_ticket, 15;
			getitem 7311, 4;
			close;
		}
		mes "- ڭQVͦ]ݸܮɡA-";
		mes "- Q_ڧѤFa^-";
		mes "- ϫH󪺨Ʊ-";
		close;

	case 15:
		mes "[ͦ] ƨC]";
		mes "A~HAnܡAA֧ڲׯ੯֪wɱߦ~FA§AAAȳ~rs";
		close;
	}
}

//====================Empty Room 201==========================

ein_in01,227,279,5	script	door_ein	-1,5,5,{
OnTouch:
	if (kain_ticket == 5) {
		set kain_ticket, 6;
		mes "["+strcharinfo(0)+"]";
		mes "Excuse me...?";
		next;
		mes "^3355FFNo one's here!^000000";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "This must be the room...";
		mes "But where the hell is he?";
		mes "I can't just leave this stuff here if he won't come back.";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "Oh well...";
		mes "I guess I can";
		mes "just give this";
		mes "back to Kain.";
		close;
	}
}

//==================== |=============================

ein_in01,261,241,5	script	 |	703,3,3,{
OnTouch:
	mes "[ |]";
	mes "Let's get to work";
	mes "fear-less comraaades~!";
	mes "Do our best! Nothing";
	mes "can stop us, lads~!";
	if(kain_ticket == 6) {
		next;
		switch( select( "Hello!", "What are you singing?")) {
		case 1:
			mes "[ |]";
			mes "Let's get to work";
			mes "fear-less comraaades~!";
			mes "Do our best! Nothing";
			mes "can stop us, lads~!";
			next;
			mes "[ |]";
			mes "I like this song lots!";
			mes "Especially when I yell";
			mes "out 'comrades!'";
			close;
		case 2:
			set kain_ticket, 7;
			mes "[ |]";
			mes "This...?";
			mes "It's the Miner's Song!";
			next;
			mes "[ |]";
			mes "Daddy doesn't like it too much, but mommy likes it a lot and she sings it too!";
			next;
			mes "[ |]";
			mes "I think my mommy remembers something about this song. I think it's something sad.";
			next;
			mes "[ |]";
			mes "Jus' today she heard it and she looked like she was going to cry. ^333333*Gasp!*^000000 Do you think she's sick?!";
			next;
			mes "[ |]";
			mes "Oh no! Hey, you're a grownup! Can see if my mommy is sick for me? Please?";
			next;
			mes "[ |]";
			mes "Our house is behind the Hotel. So can see my mommy and tell me if she's not feeling good?";
			close;
		}
	} else if(kain_ticket == 7) {
		next;
		mes "[ |]";
		mes "Our house is";
		mes "right behind";
		mes "the Hotel. Will";
		mes "you go and see";
		mes "my mommy for me?";
		close;
	} else if(kain_ticket == 13) {
		next;
		//Check if you can carry the Picture Letter.
		 if (checkweight(7276,1)) {
			mes "[ |]";
			mes "You saw my grandpa?";
			mes "You're his friend,";
			mes "right? A-are you";
			mes "gonna see him later?";
			next;
			mes "[ |]";
			mes "I made something for him. I don't know how to write, but I made this letter as best I can. Will you promise to give this to him for me? Please?";
			next;
			mes "^3355FFElle put a big";
			mes "doodled message";
			mes "in your hand.^000000";
			set kain_ticket, 14;
			getitem 7276, 1; //Picture Letter,
			close;
		} else {
			mes "[ |]";
			mes "Hey! I have something to give you, but you have too much stuff already. Will you come back later?";
			close;
		}
	}
	close;
}

//====================w |=============================

ein_in01,123,94,1	script	w |	851,{
	switch (kain_ticket) {
	case 7:
		callfunc "cherno";
		set kain_ticket, 8;
		close;
	case 8:
	case 9:
		mes "[w |]";
		mes "You are very kind.";
		close;
	case 10:
	case 11:
	case 12:
		mes "[w |]";
		mes "Are you sure";
		mes "that you can find";
		mes "her father? Oh...!";
		mes "You're a godsend!";
		close;
	case 13:
	case 14:
	case 15:
		Emotion 18, "w |";
		mes "[w |]";
		mes "ݨڤӤӰˤlAڧıoְ_ӤFOAuD`§A";
		close;
	dafault:
		mes "[w |]";
		mes "Hmm...";
		mes "Shall we talk";
		mes "later? I'm pretty";
		mes "busy trying to fix";
		mes "this thing at the moment.";
		close;
	}
}

//==================== |===========================

ein_in01,125,99,3	script	 |	850,{
	if(kain_ticket == 7) {
		callfunc "cherno";
		set kain_ticket, 8;
		close;
	} else if(kain_ticket == 8) {
		mes "[ |]";
		mes "Although these contraptions aren't worth showing off, we've put a lot of work into inventing these machines.";
		close;
	} else if(kain_ticket == 9) {
		mes "["+strcharinfo(0)+"]";
		mes "Ma'am, you have a scar on your shoulder. Is that from an accident?";
		next;
		mes "[ |]";
		mes "Oh this...?";
		mes "It's from years ago.";
		mes "I guess I was quite";
		mes "the trouble maker to";
		mes "the people who raised me.";
		next;
		mes "[ |]";
		mes "You see, I lose my parents when I was very young. It was only later that I realized that I was raised by foster parents.";
		next;
		mes "[ |]";
		mes "My foster-mother told me that my real mother died long ago, but no one's sure if my real father is still alive.";
		next;
		mes "[ |]";
		mes "I tried my best to make my foster-mother happy, but sadly, I was too hot headed and rebellious.";
		next;
		mes "[ |]";
		mes "In the end, I left home and studied mechanics. That's how I met my husband. Meeting him is the greating thing that's ever happened to me!";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "By the way,";
		mes "I heard your";
		mes "daughter singing";
		mes "some sort of Miner's Song.";
		next;
		mes "[w |]";
		mes "I don't understand";
		mes "why that she likes";
		mes "such a robust song";
		mes "for men! Haha, this";
		mes "is all your fault, Tarsha.";
		Emotion 29, "w |";
		next;
		mes "[ |]";
		mes "Hoho.";
		mes "I was too young to remember it clearly, but I'm sure my real father loved that song.";
		next;
		mes "[ |]";
		mes "I barely recall that he used to sing it while cleaning our old house. Yes, I don't remember what he looked like, but he must have been a miner.";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "A miner...?";
		mes "(Wait, that crewman, ͦ] ƨC! He's a miner who lost his daughter!)";
		next;
		mes "["+strcharinfo(0)+"]";
		mes " !!!!!!";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "Tarsha...";
		mes "Your father";
		mes "may still be";
		mes "alive!";
		next;
		mes "[ |]";
		mes "...What?";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "I've got to go check something now, but hopefully I'll be back soon with good news!";
		set kain_ticket, 10;
		close;
	} else if(kain_ticket == 10 || kain_ticket == 11) {
		mes "["+strcharinfo(0)+"]";
		mes "I know someone who might be your father! Just wait for me, hopefully I'll bering good news soon!";
		close;
	} else if(kain_ticket == 12) {
		mes "[ |]";
		mes "Oh, welcome back.";
		mes "So did you bring";
		mes "good news...?";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "Yes, speaking of which, allow me to... Check something.";
		next;
		switch( select( "Check her neck.", "Check her hands.", "Check her legs.", "Check her forehead.")) {
		case 1:
			mes "^3355FFUh oh...";
			mes "Nothing's there!^000000";
			next;
			mes "[w |]";
			mes "H-how rude!";
			mes "Touching another";
			mes "man's wife...?!";
			next;
			specialeffect2 EF_EARTHHIT;
			percentheal -30,0;
			close;
		case 2:
			mes "^3355FFYou found";
			mes "a burn mark on";
			mes "her hand.^000000";
			next;
			mes "["+strcharinfo(0)+"]";
			mes "That's it! Tarsha, your father's name is Kain. He's working for the Airship as a crewman.";
			next;
			mes "["+strcharinfo(0)+"]";
			mes "He misses you";
			mes "a lot and hopes";
			mes "that you can forgive";
			mes "him... Someday.";
			next;
			mes "[ |]";
			mes "Are...";
			mes "Are you serious?";
			mes "My father's alive!";
			mes "Oh thank god! Thank";
			mes "you so much!";
			next;
			mes "[ |]";
			mes "...........";
			mes "That means, my";
			mes "real name would be";
			mes "^3131FF ƨC^000000.";
			next;
			mes "[ |]";
			mes "ܤͦRˡAzLMJAۧUpS୫{Ao@wOҽ絹ڪ_ݯ몺§";
			next;
			mes "[ |]";
			mes "Af!ھ֦F褣h..uVOŪǤ譱ѦӤw";
			next;
			mes "[ |]";
			mes "AY ^3131FFG٫~ί}H~^000000aӪܡAڷ|Τ[eͩҵo ^FF0000<Uײzu>^000000ӴAצn";
			next;
			mes "[ |]";
			mes "ڷQߨMͥhM˰ڡAڪ[HӤ߹iŬ}wAoOh˪tGڡAuߪ§AF";
			next;
			mes "[ |]";
			mes "ڡAFAWAӹLA֦NLڧAUAӮɡAЧA@wnhoAo٦bӪaAЧAh@Un?";
			set kain_ticket, 13;
			close;
		case 3:
			mes "^3355FFUh oh...";
			mes "Nothing's there!^000000";
			next;
			mes "[w |]";
			mes "H-how rude!";
			mes "Touching another";
			mes "man's wife...?!";
			next;
			specialeffect2 EF_EARTHHIT;
			percentheal -20,0;
			close;
		case 4:
			mes "^3355FFUh oh...";
			mes "Nothing's there!^000000";
			next;
			mes "[w |]";
			mes "H-how rude!";
			mes "Touching another";
			mes "man's wife...?!";
			next;
			specialeffect2 EF_EARTHHIT;
			percentheal -10,0;
			close;
		}
	} else if(kain_ticket > 12) {
		mes "[ |]";
		mes "Aֲ{bL۬OQlOA߱HeOPۦbB";
		close;
	} else {
		mes "[ |]";
		mes "I'm sorry, but";
		mes "we're pretty busy.";
		mes "Please excuse us~";
		close;
	}
}

function	script	cherno	{
	misceffect 2;
	mes "^33355F*Bang*^000000";
	next;
	misceffect 3;
	mes "^33355F*Bang*^000000";
	next;
	misceffect 4;
	mes "^33355F*Bang*^000000";
	next;
	misceffect 20;
	mes "^33355F*Crash!*^000000";
	mes "....."; 
	emotion 4, "w |";
	Emotion 4, " |";
	next;
	mes "[w |]";
	mes "Honey...";
	mes "I think there's";
	mes "a critical structural";
	mes "problem with the joint.";
	next;
	mes "[ |]";
	mes "I think they're";
	mes "not connected right...";
	next;
	mes "[w |]";
	mes "Well, let's call";
	mes "it a day and finish";
	mes "this tomorrow.";
	next;
	Emotion 1, " |";
	mes "[ |]";
	mes "Elle is playing outside.";
	mes "Oh, I didn't know we had";
	mes "a guest? Hello, how are you?";
	next;
	switch( select( "Nothing.", "Your daughter asked me to visit you.")) {
	case 1:
		mes "[w |]";
		mes "As you see, my wife and I are pretty";
		mes "busy to study a research.";
		mes "If you do not have any urgent business,";
		mes "will you please leave us alone?";
		close;
	case 2:
		Emotion 4, " |";
		Emotion 4, "w |";
		mes "[ |]";
		mes "Excuse me?";
		mes "What did she say?";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "Well, uh...";
		mes "She wanted to me";
		mes "to check if her mom";
		mes "was sick or sad";
		mes "...Or something?";
		next;
		Emotion 23, " |";
		mes "[ |]";
		mes "Oh my god...!";
		mes "What is she";
		mes "thinking...?";
		next;
		mes "[w |]";
		mes "wait, darling.";
		mes "I agree that sometimes you look sad and lonely, gazing out that window with those wistful eyes.";
		next;
		mes "[ |]";
		mes "Oh, I must be making my family very anxious. But don't you worry, love. I'm very happy with you and Elle.";
		next;
		mes "[ |]";
		mes "And...";
		mes "Kind adventurer,";
		mes "May I ask your name?";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "I am called,";
		mes ""+strcharinfo(0)+".";
		next;
		mes "[ |]";
		mes ""+strcharinfo(0)+",";
		mes "I appreciate your concerns~ Would you please stay for a cup of tea?";
		next;
		mes "[ |]";
		mes "My husband and I have been studying mechanical engineering. You see, there are many Einbech miners risking their lives everyday.";
		next;
		mes "[ |]";
		mes "If we could create a machine that could reduce the risk of mining ores, we could really help them. But we're pretty far from reaching that goal.";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "Ah...";
		mes "So that's why";
		mes "there's so many";
		mes "interesting things";
		mes "in your house...";
		next;
		mes "^3355FFYou begin to";
		mes "take a look around";
		mes "the Cherno household.^000000";
		return;
	}
}

//========Unidentified Machine #1 and #2=======================

ein_in01,127,94,5	script	Unidentified Machine#mac	111,{
	callfunc "Machine";
}
ein_in01,122,103,5	script	Unidentified Machine	111,{
	callfunc "Machine";
}
function	script	Machine	{
	mes "^3355FFIt's...";
	mes "It's a really";
	mes "strange looking";
	mes "machine. Does it";
	mes "even do anything?^000000";
	close;
}

//====================Mirror=============================

ein_in01,121,99,5	script	Mirror	111,{
	if(kain_ticket==8) {
		mes "^3355FFIt's a mirror.";
		mes "So, of course the";
		mes "first thing you'll";
		mes "see is yourself.";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "Man...";
		mes "I didn't know";
		mes "I was so good looking!";
		next;
		mes "^3355FFAfter enjoying that little epiphany, you see a reflection of Tarsha's neck as you set the mirror back down.^000000";
		next;
		mes "^3355FFAs you take a closer look, you find that there's a strange mark around her neck...^000000";
		set kain_ticket, 9;
		close;
	}
}

//====================Tree from Einbech=============================

einbech,45,113,5	script	Tree#t1-1::Tree	111,{
	if(kain_ticket==11) {
		mes "^3355FFYou crouch down";
		mes "under the tree and";
		mes "begin digging into";
		mes "the ground.^000000";
		next;
		mes "...";
		mes "......";
		next;
		mes "...";
		mes "......";
		mes ".........";
		next;
		set @find_diary,rand(1,100);
		if(@find_diary > 10) {
			mes "^3355ffUnfortunately,";
			mes "you weren't able";
			mes "to find anything.^000000";
			close;
		} else {
			callfunc "diary";
			set kain_ticket, 12;
			close;
		}
	} else if(kain_ticket == 12) {
		callfunc "diary";
		close;
	}
}

function	script	diary	{
	mes "^3355ffYou have found a ^3131FFJournal^3355ff among some other articles buried for safekeeping.^000000";
	next;
	mes "^3355FFYou open";
	mes "the journal";
	mes "and begin to read...^000000";
	next;
	mes "...";
	mes "......";
	next;
	mes "<Date : OX OX>";
	mes "^333333I'm sooo happy";
	mes "to be with Kain.";
	mes "He's such an honest,";
	mes "sincere man, even if";
	mes "he is quiet sometimes.";
	next;
	mes "^333333Although he's a good husband, I'm not so good at being a housewife. But I'll do my best.^000000";
	next;
	mes "<Date : OX OX>";
	mes "^333333I fell asleep while fixing dinner and burned all food. Awww, why am I so careless? But Kain ate every bite, even if he had to pretend that he liked it.^000000";
	next;
	mes "<Date : OX OX>";
	mes "^333333Kain and I will be having a child soon! I'm so happy, but I'm also a little worried sometimes. Kain is all smiles though and he gives me relief.^000000";
	next;
	mes "<Date : OX OX>";
	mes "^333333More people have been leaving the mines to work for the new factory. It seems Kain's pride has been really wounded lately. How can I help him...?^000000";
	next;
	mes "<Date : OX OX>";
	mes "^333333Kain and I are now the proud parents of a beautiful baby girl. We named her ^3131FFTarsha^000000 and she has her father's eyes. I'm going to be the best mother I can for her.^000000";
	next;
	mes "<Date : OX OX>";
	mes "^333333Tarsha called me 'mom' for the first time! It's a miracle! I want nothing else in the world but for her to be happy and healthy.^000000";
	next;
	mes "<Date : OX OX>";
	mes "^333333Kain got into an accident. While the miners were digging ores, toxic gas was released. It wasn't lethal, but Kain's arm has been partly paralyzed and the doctor says it might affect his memories later.^000000";
	next;
	mes "^333333He's so depressed. I tried to make him feel better by making his favorite soup. He smiled and thanked me, but I could tell he was feeling more desperate.^000000";
	next;
	mes "^333333I hope he feels better soon. His despair is as great as his passion for his job.^000000";
	next;
	mes "...";
	mes "......";
	next;
	mes "<Date : OX OX>";
	mes "^333333Lately, Kain has been drunk too often and he always screams and yells when he comes home. There's too much anger in him!^000000";
	next;
	mes "^333333He's not the same anymore. What ever happened to the kind man that I married?^000000";
	next;
	mes "...";
	mes "......";
	next;
	mes "<Date : OX OX>";
	mes "^333333Tarsha got her hand scalded from boiling water while playing in the kitchen. Although she was treated, there'll always be a ^3131FFburn mark^333333 on her hand.^000000";
	next;
	mes "^333333After we got home, Tarsha laughed and played with her doll as if nothing happened. But I couldn't stop crying for some reason.^000000";
	next;
	mes "...";
	mes "......";
	next;
	mes "<Date : OX OX>";
	mes "^333333Kain comes home less nowadays. I've had to start working in the store after we spent all of Kain's savings.^000000";
	next;
	mes "^333333It's tough working and taking care of the family at the same time, but Tarsha's beautiful smile makes everything worth it. Still, I can't help but worry about Kain...^000000";
	next;
	mes "...";
	mes "......";
	next;
	mes "<Date : OX OX>";
	mes "^333333Everyday, I get weaker and weaker. I wanted to finally tell Kain today, but he was definitely not in the mood to talk.^000000";
	next;
	mes "^333333Lately Tarsha cries a lot. My poor baby loves her father so much, but he's always so cold. Sometimes I see him smile at Tarsha.^000000";
	next;
	mes "^333333But those moments grow fewer the more he drinks. When will he finally overcome his pain?^000000";
	next;
	mes "...";
	mes "......";
	next;
	mes "^3355FFThat was the last page of the journal. You picked it up so that you can bring it over to ^3131FFTarsha.^000000";
	return;
}

//====================Expert Repairman=============================

ein_in01,117,80,5	script	Unidentified Machine#as	111,{
	if(kain_ticket > 12) {
		mes "["+strcharinfo(0)+"]";
		mes "This is the";
		mes "^FF0000Expert Repairman^000000?!";
		mes "It looks like it";
		mes "needs repairs itself...";
		next;
		if(getbrokenid(1)==NULL) {
			mes "[Expert Repairman]";
			mes "*Beep-*";
			mes "Please check";
			mes "your items again.";
			close;
		} else {
			set @choice,select(getitemname(getbrokenid(1)),getitemname(getbrokenid(2)),
			getitemname(getbrokenid(3)),getitemname(getbrokenid(4)),getitemname(getbrokenid(5)),
			getitemname(getbrokenid(6)),getitemname(getbrokenid(7)),getitemname(getbrokenid(8)),
			getitemname(getbrokenid(9)),getitemname(getbrokenid(10)));
			mes "[Expert Repairman]";
			mes "You're gonna repair " + getitemname(getbrokenid(@choice)) + ".";
			mes "Continue?";
			next;
			switch( select("Yes","No")) {
			case 1:
				repair(@choice);
				next;
				mes "[Expert Repairman]";
				mes "*Beep-*";
				mes "Task is";
				mes "complete.";
				close;
			case 2:
				mes "[Expert Repairman]";
				mes "You decided to quit it.";
				close;
			}
		}
	} else {
		mes "^3355FFIt's some sort of strange machine. What ever could it do?^000000";
		close;
	}
}
//===================Trees From Einbech==========================
//Tree of the Diary
einbech,36,100,5	duplicate(Tree)	Tree#t1-2	111
einbech,44,90,5	duplicate(Tree)	Tree#t1-3	111
einbech,53,94,5	duplicate(Tree)	Tree#t1-4	111

//=======================================================================================================//
//				"How Does The Airship Work" Quest
//=======================================================================================================//


//=============Monsters Attack======================
airplane_01,1,1,0	script	Quest_Izl	-1,{
OnInit:
	disablenpc "Ÿ #02";
OnInvasion:
while($@mobinv >= 9 && $@mobrand == 3)
{
	Initnpctimer;
	end;
OnTimer6000:
	mapannounce "airplane_01","[L : @...@@c! e観@s³o̱!",1,0x00FF00;
	end;
OnTimer10000:
	mapannounce "airplane_01","s : U쭼, ثe@s], ϭnJIŸ",1,0x00ff00;
	end;
OnTimer12000:
	mapannounce "airplane_01","s : ҪOWȭ̽лָJ",1,0x00ff00;
	disablenpc "Airship Staff#info";
	end;
OnTimer16000:
	monster "airplane_01",245,57,"p",1632,1;
	monster "airplane_01",247,59,"p",1632,1;
	monster "airplane_01",249,52,"p",1632,1;
	monster "airplane_01",243,62,"p",1632,1;
	monster "airplane_01",239,52,"c]",1633,1;
	monster "airplane_01",234,56,"c]",1633,1;
	monster "airplane_01",227,49,"c]",1633,1;
	monster "airplane_01",233,41,"c]",1633,1;
	switch (rand(5)) {
	case 0:
		monster "airplane_01",251,47,"",1434,1;
		monster "airplane_01",245,53,"",1434,1;
		monster "airplane_01",234,46,"",1434,1;
		monster "airplane_01",233,58,"",1434,1;
		monster "airplane_01",243,60,"",1434,1;
		monster "airplane_01",228,54,"",1434,1;
		monster "airplane_01",232,41,"",1434,1;
		end;
	case 1:
		monster "airplane_01",251,47,"ɾF",1557,1;
		monster "airplane_01",245,53,"ɾF",1557,1;
		monster "airplane_01",234,46,"ɾF",1557,1;
		monster "airplane_01",233,58,"ɾF",1557,1;
		monster "airplane_01",243,60,"ɾF",1557,1;
		monster "airplane_01",228,54,"ɾF",1557,1;
		monster "airplane_01",232,41,"ɾF",1557,1;
		end;
	case 2:
		monster "airplane_01",251,47,"l彿",1419,1;
		monster "airplane_01",245,53,"l彿",1419,1;
		monster "airplane_01",234,46,"l彿",1419,1;
		monster "airplane_01",233,58,"l彿",1419,1;
		monster "airplane_01",243,60,"l彿",1419,1;
		monster "airplane_01",228,54,"l彿",1419,1;
		monster "airplane_01",232,41,"l彿",1419,1;
		end;
	case 3:
		monster "airplane_01",251,47,"Jߤp",1050,1;
		monster "airplane_01",245,53,"Jߤp",1050,1;
		monster "airplane_01",234,46,"Jߤp",1050,1;
		monster "airplane_01",233,58,"Jߤp",1050,1;
		monster "airplane_01",243,60,"Jߤp",1050,1;
		monster "airplane_01",228,54,"Jߤp",1050,1;
		monster "airplane_01",232,41,"Jߤp",1050,1;
		end;
	case 4:
		monster "airplane_01",251,47,"a",1042,1;
		monster "airplane_01",245,53,"a",1042,1;
		monster "airplane_01",234,46,"a",1042,1;
		monster "airplane_01",233,58,"a",1042,1;
		monster "airplane_01",243,60,"a",1042,1;
		monster "airplane_01",228,54,"a",1042,1;
		monster "airplane_01",232,41,"a",1042,1;
		end;
	}
OnTimer16010:
	monster "airplane_01",238,56,"p",1632,1;
	monster "airplane_01",239,56,"p",1632,1;
	monster "airplane_01",240,50,"p",1632,1;
	monster "airplane_01",241,56,"p",1632,1;
	monster "airplane_01",247,51,"p",1632,1;
	monster "airplane_01",237,44,"c]",1633,1;
	monster "airplane_01",233,54,"c]",1633,1;
	monster "airplane_01",237,62,"c]",1633,1;
	end;
OnTimer21000:
	mapannounce "airplane_01", "խ : p nF! p̶]ii!!",1,0x00FF00;
	end;
OnTimer26000:
	mapannounce "airplane_01", "p : ?! oǳåӤܤF! ڭn˦ۥhB!",1,0x70DBDB;
	end;
OnTimer31000:
	disablenpc "Ÿ #01";
	enablenpc "Ÿ #02";
	end;
OnTimer36000:
	emotion 6, "Ÿ #02";
	mapannounce "airplane_01", "p : A̳oǳå!! ֵڤU!!",1,0x70DBDB;
	end;
OnTimer36500:
	mapannounce "airplane_01", "- nnn..VV....yy. FF-",1,0x00FF00;
	donpcevent "boom#air-6::OnAttack"; //6
	end;
OnTimer37000:
	donpcevent "boom#air-7::OnAttack"; //7
	end;
OnTimer37500:
	donpcevent "boom#air-8::OnAttack"; //8
	end;
OnTimer38000:
	donpcevent "boom#air-9::OnAttack"; //9
	end;
OnTimer38500:
	donpcevent "boom#air-10::OnAttack"; //10
	end;
OnTimer39000:
	donpcevent "boom#air-6::OnAttack"; //6
	end;
OnTimer39500:
	donpcevent "boom#air-7::OnAttack"; //7
	end;
OnTimer40000:
	donpcevent "boom#air-8::OnAttack"; //8
	end;
OnTimer40500:
	donpcevent "boom#air-9::OnAttack"; //9
	end;
OnTimer41000:
	donpcevent "boom#air-10::OnAttack"; //10
	end;
OnTimer41500:
	donpcevent "boom#air-6::OnAttack"; //6
	mapannounce "airplane_01", " : z!! 1誺...!",1,0x00FF00;
	end;
OnTimer42500:
	donpcevent "boom#air-7::OnAttack"; //7
	end;
OnTimer43500:
	donpcevent "boom#air-8::OnAttack"; //8
	end;
OnTimer44500:
	donpcevent "boom#air-9::OnAttack"; //9
	end;
OnTimer45500:
	donpcevent "boom#air-10::OnAttack"; //10
	end;
OnTimer46500:
	mapannounce "airplane_01", " : Ѯzwa! nI!",1,0x00FF00;
	end;
OnTimer47500:
	donpcevent "boom#air-6::OnAttack"; //6
	end;
OnTimer48500:
	donpcevent "boom#air-7::OnAttack"; //7
	end;
OnTimer49500:
	donpcevent "boom#air-8::OnAttack"; //8
	end;
OnTimer50500:
	donpcevent "boom#air-7::OnAttack"; //7
	end;
OnTimer51500:
	Emotion 6, "Ÿ #02";
	mapannounce "airplane_01", "p : na.. nU, z....",1,0x70DBDB;
	end;
OnTimer56500:
	Emotion 6, "Ÿ #02";
	mapannounce "airplane_01", "p : bڸWv, ڷ|Anݪ",1,0x70DBDB;
	end;
OnTimer61500:
	Emotion 29, "Ÿ #02";
	mapannounce "airplane_01", "p : ڥίSOsyw ʥd XIII@ӺֺjӸѨMA!!",1,0x70DBDB;
	end;
OnTimer66500:
	mapannounce "airplane_01", "y! yy! yy! yyy!",1,0x00FF00;
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer67000:
	donpcevent "boom#air-1::OnAttack"; //1
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer67500:
	donpcevent "boom#air-2::OnAttack"; //2
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer68000:
	donpcevent "boom#air-3::OnAttack"; //3
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer68500:
	donpcevent "boom#air-4::OnAttack"; //4
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer69000:
	donpcevent "boom#air-5::OnAttack"; //5
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer69500:
	donpcevent "boom#air-0::OnAttack"; //0
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer70000:
	donpcevent "boom#air-1::OnAttack"; //1
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer70500:
	donpcevent "boom#air-2::OnAttack"; //2
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer71000:
	donpcevent "boom#air-4::OnAttack"; //4
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer71500:
	donpcevent "boom#air-5::OnAttack"; //5
	end;
OnTimer72000:
	Emotion 6, "Ÿ #02";
	mapannounce "airplane_01","p : ! , p?!!",1,0x70DBDB;
	end;
OnTimer72500:
	mapannounce "airplane_01", "y! yy! yy! yyy!",1,0x00FF00;
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer73000:
	donpcevent "boom#air-6::OnAttack"; //6
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer73500:
	donpcevent "boom#air-7::OnAttack"; //7
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer74000:
	donpcevent "boom#air-8::OnAttack"; //8
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer74500:
	donpcevent "boom#air-9::OnAttack"; //9
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer75000:
	donpcevent "boom#air-10::OnAttack"; //10
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer75500:
	donpcevent "boom#air-6::OnAttack"; //6
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer76000:
	donpcevent "boom#air-7::OnAttack"; //7
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer76500:
	donpcevent "boom#air-8::OnAttack"; //8
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer77000:
	donpcevent "boom#air-9::OnAttack"; //9
	donpcevent "Ÿ #02::OnAttack";
	end;
OnTimer77500:
	donpcevent "boom#air-8::OnAttack"; //8
	mapannounce "airplane_01", "y! yy! yyy! y!",1,0x00FF00;
	end;
OnTimer78000:
	donpcevent "boom#air-9::OnAttack"; //9
	end;
OnTimer78500:
	donpcevent "boom#air-10::OnAttack"; //10
	end;
OnTimer79000:
	donpcevent "boom#air-6::OnAttack"; //6
	end;
OnTimer79500:
	donpcevent "boom#air-7::OnAttack"; //7
	end;
OnTimer80000:
	Emotion 26,"Ÿ #02";
	mapannounce "airplane_01", "p : cc..?! oǳå֧}apɤF?!!",1,0x70DBDB;
	end;
OnTimer85000:
	mapannounce "airplane_01", " : ..ϦӬOj, ֧}aF",1,0x00FF00;
	end;
OnTimer100000:
	Emotion 4,"Ÿ #02";
	mapannounce "airplane_01", "p : ..O?! K|⪺ɭԹ, ⫢",1,0x70DBDB;
	end;
OnTimer125000:
	Emotion 26,"Ÿ #02";
	mapannounce "airplane_01", "p : `, o̴N浹A̵, P",1,0x70DBDB;
	end;
OnTimer130000:
	disablenpc "Ÿ #02";
	enablenpc "Ÿ #01";
	enablenpc "Airship Staff#info";
	donpcevent "YunoIzl_Airship::OnReturn";
	end;
}
}

//========Captain Tarlock (Outside the Captain Cabin)=======================

airplane_01,246,54,5	script	Ÿ #02	873,{
	cutin "fly_felrock",2;
	mes "[p]";
	mes "ڬOoŸsp,";
	mes "]ڳQoǤpdoJYB,";
	mes "ҥHɶqOڻ!";
	close;
	cutin "",255;
OnAttack:
	misceffect 4;
	end;
}

//========Captain Tarlock (Inside the Captain Cabin)=======================

airplane_01,238,154,3	script	Ÿ #01	873,{

	cutin "fly_felrock",2;
	mes "[p]";
	mes "ڬOoŸosp,";
	mes "аݧڦƶ? c?!";
	next;
	if (lght_air >= 0 && lght_air <= 2 || lght_air == 7) {
		set question$, "ŸOp󭸦檺O?";
	} else if(lght_air == 4) {
		set question$, "I handed the letter to Captain Ferlock.";
	} else if(lght_air == 5) {
		set question$, "You finished reading the letter?";
	} else if(lght_air == 6) {
		set question$, "Already finished reading?";
	}
	switch( select( "O?", ""+question$+"", "" )){
	case 1:
		mes "[p]";
		mes "򹥳!";
		mes "ҥHڻHpĳөtD,";
		mes "S§! SWx!!";
		mes "AAL§ڴNAUho!!";
		next;
		mes "[p]";
		mes "ڭ̱NNO֦QΪQ,";
		mes "ǻPA̤HO۴ýת!";
		mes "AHojŸO";
		mes "e!";
		next;
		mes "[p]";
		mes "fۭŸhC@,";
		mes "~OڤHͪ@jֽPؼo";
		close2;
		cutin "",255;
		end;	
	case 2:
		if(lght_air == 1) {
			if (BaseLevel <= 59) {
				mes "[Tarlock]";
				mes "Mm...?";
				mes "Didn't you ask me that";
				mes "before? Well, in any case";
				mes "I apologize, but I'm still not";
				mes "allowed to tell you that secret.";
				close2;
				cutin "",255;
				end;	
			} else {
				mes "[Tarlock]";
				mes "Mm...?";
				mes "Didn't you ask me that";
				mes "before? Are you just curious";
				mes "or did you really want to know?";
				next;
				switch( select( "No, not really...", "Yes, I really want to know!")) {
				case 1:
					mes "[Tarlock]";
					mes "Hahahaha~";
					mes "Maybe someday you'll";
					mes "figure out how this Airship";
					mes "is able to stay aloft and";
					mes "fly through the skies.";
					close2;
					cutin "",255;
					end;	
				case 2:
					mes "[Tarlock]";
					mes "In all honestly, the";
					mes "secret to this Airship's";
					mes "flight is something that";
					mes "only captains are authorized";
					mes "to know. So I shouldn't really";
					mes "tell you anything about it.";
					next;
					mes "[Tarlock]";
					mes "But I've never been able";
					mes "to trust upper management";
					mes "so I don't have any loyalty to";
					mes "them. I wouldn't mind telling";
					mes "you that classified info if you";
					mes "do a little favor for me first.";
					next;
					switch( select( "Let me think about it.", "Sure.")) {
					case 1:
						mes "[Tarlock]";
						mes "Alright. But don't";
						mes "worry, I'm not going";
						mes "to ask you to do anything";
						mes "that you can't handle. Come";
						mes "back after you decide, alright?";
						close2;
						cutin "",255;
						end;	
					case 2:
						set lght_air, 2;
						mes "[Tarlock]";
						mes "Ha-hah! I like you";
						mes "already! Alright, here's";
						mes "the deal. I have a younger";
						mes "brother who I rarely see since";
						mes "he's also an Airship Captain";
						mes "that's always traveling.";
						next;
						mes "[Tarlock]";
						mes "Would you bring this";
						mes "letter to my brother,";
						mes "Ferlock? Also, please";
						mes "make sure that you come";
						mes "back with his reply, alright?";
						mes "Thank you, adventurer.";
						next;
						mes "[Tarlock]";
						mes "Oh, and once you meet";
						mes "my brother, please help";
						mes "him out. He'll explain it";
						mes "once you see him.";
						next;
						mes "^3131FFYou have received";
						mes "Captain Tarlock's letter";
						mes "to deliver to his younger";
						mes "brother, Captain Ferlock.";
						close2;
						cutin "",255;
						end;	
					}
				}
			}
		} else if(lght_air == 4) {
			set lght_air, 5;
			mes "[Tarlock]";
			mes "Oh!";
			mes "And he answer you? Really?!";
			mes "In fact, I wasn't";
			mes "expecting that too much...";
			mes "Please wait a little,";
			mes "I'll read his letter.";
			close2;
			cutin "",255;
			end;	
		} else if(lght_air == 5) {
			set lght_air, 6;
			mes "[Tarlock]";
			mes "Um... Ha ha ha~!";
			mes "This guy, he is a real lover!";
			mes "But his true inner man";
			mes "is limited by his duty.";
			mes "What do you think?";
			mes "Hoh hoh hoh.";
			next;
			mes "^3131ffHe continue reading";
			mes "the letter.^000000";
			close2;
			cutin "",255;
			end;	
		} else if(lght_air== 6) {
			mes "[Tarlock]";
			mes "Yes, I finished.";
			mes "Even if I understand him";
			mes "I've a totally different";
			mes "point of view. But both";
			mes "of us are fearless.";
			next;
			mes "[Tarlock]";
			mes "Oh, I almost forgot,";
			mes "I'll teach you what you";
			mes "wanted to know.";
			next;
			mes "[Tarlock]";
			mes "The Airship's secret to float is...";
			mes "The large boiler is setted on fire,";
			mes "That moves the pistons, gears";
			mes "and turbines with the steam";
			mes "that is generated when the water";
			mes "passes within the boiler.";
			next;
			mes "[Tarlock]";
			mes "That turns the propeller.";
			mes "That's all. Did you understand?";
			next;
			switch( select( "Um? Only that? There's no more?")) {
			case 1:
				mes "[Tarlock]";
				mes "Ha ha ha!";
				mes "I explained it roughtly to";
				mes "make it easier to understand";
				mes "by you. Still, you aren't";
				mes "pleased? I said it in plain";
				mes "english that everyone could";
				mes "understand.";
				next;
				mes "[Tarlock]";
				mes "Obviously, only with a steam";
				mes "is impossible to make this fly.";
				mes "Therefore, it uses an amplifier";
				mes "called ^ff0000Rune Mechanism^000000.";
				next;
				switch( select( "Uh? What's a Rune Mechanism?")) {
				case 1:					
					mes "[Tarlock]";
					mes "It's a device that uses a";
					mes "magic stone as power source.";
					mes "However, I don't know how";
					mes "this work...";
					mes "I forgot the details probably";
					mes "because I didn't paid much attention.";
					next;
					mes "[Tarlock]";
					mes "The only I remember is";
					mes "that the energy is amplified";
					mes "while it passes through the";
					mes "Rune that is attached to a";
					mes "steam engine.";
					next;
					mes "[Tarlock]";
					mes "In fact, all this airship";
					mes "floats thanks to the power";
					mes "given by the stone, no";
					mes "exaggeration.";
					mes "It has really a strong power.";
					next;
					specialeffect2 EF_ABSORBSPIRITS;
					mes "[Tarlock]";
					mes "Did you understand?";
					mes "I'll rest a little.";
					mes "I'm tired for reading";
					mes "and writing those long";
					mes "letters.";
					set lght_air, 7;
					getexp 200000, 10000;
					close2;
					cutin "",255;
					end;	
				}
			}
		} else if(lght_air == 7) {
			mes "[Tarlock]";
			mes "Didn't I teach you before?";
			mes "I won't explain such a long";
			mes "tale again!";
			close2;
			cutin "",255;
			end;	
		} else if(lght_air == 2) {
			mes "[Tarlock]";
			mes "Hahahah! Don't worry, I'll";
			mes "tell you know this Airship";
			mes "flies once you deliver that";
			mes "letter to my brother, Ferlock,";
			mes "and bring back his reply.";
			close2;
			cutin "",255;
			end;	
		}
		mes "[Tarlock]";
		mes "Hahaha! How this";
		mes "Airship flies? Yes, it's";
		mes "quite wonderful, isn't it?";
		mes "Although that's a secret,";
		mes "let me assure you that it's";
		mes "nothing weird or dangerous.";
		set lght_air, 1;
		close2;
		cutin "",255;
		end;	
	case 3:
		mes "[p]";
		mes "! ګܦSƧOӷЧڰ!";
		close2;
		cutin "",255;
		end;	
	}
}


//===========Captain Ferlock=======================

airplane,236,163,5	script	Ÿ #03	873,{

	cutin "fly_trock",2;
	if(hg_ma1 == 3 || hg_ma1 == 4)
	{
		mes "[Ferlock]";
		mes "Welcome to the airship. I am Ferlock, captain of this airship. What do you want from me? ";
		next;
		switch( select( "Ask him about Thierry" ) )
		{
			case 1:
				break;
		}
		mes "[Ferlock]";
		mes "Hmm, this is the first time I hear of this name. I'm sure he's not the employee of this place.";
		next;
		switch( select( "Request for the passenger list. " ) )
		{
			case 1:
				break;
		}
		mes "[Ferlock]";
		mes "The passenger list is not opened to public unfortunately. Sorry I couldn't help you. ";
		if(hg_ma1 == 3) close;
		next;
		switch( select( "Follow Kaci's request and tell him the story." ) )
		{
			case 1:
				break;
		}
		mes "^3355FFWhen you tell him why you need to find Thierry, the captain listens to you quietly and nods his head.^000000";
		next;
		mes "[Ferlock]";
		mes "Hmm... I understand what you mean. However, the rules says that the passenger list cannot be showed to public.";
		next;
		mes "[Ferlock]";
		mes "......However, rules can be broken which brings greater value than its existence. Ok, I will help you. Please wait for a while.";
		next;
		mes "^3355FFThe captain takes out a book and writes the name of 'Thierry' on the first page where nothing is written. The entry slowly disappears and the pages of the book start to flip magically^000000";
		next;
		mes "^3355FFThe book continues to flip and finally stops at one page. You see the record of Thierry boarding the airship on that page^000000";
		next;
		mes "[Ferlock]";
		mes "Haha, does it frighten you? This is a magically enchanted book. Once you've written the name in it, you will be able to find the answer you want in an instant.";
		next;
		mes "[Ferlock]";
 		mes "It must have surprised you to find that the people of Schwaltzvalt make use of magical items too.";
		next;
		mes "[Ferlock]";
		mes "This is something I acquired from an old friend.... Hmm, but that has nothing to do with this.";
		next;
		mes "[Ferlock]";
		mes "Thierry... Let's see. He boarded the airship a month ago and headed for Hugel. Looks like he took the ship to Hugel the first day this flight was implemented.";
		next;
		mes "[Ferlock]";
		mes "....Oh, didn't you say that this friend of yours is involved with a research job? I remember now. It's that young man.";
		next;
		mes "[Ferlock]";
		mes "The flight to Hugel which had just been added to the schedule faced a great danger the first day since the airship had not prepared any counter-measures for sudden attacks by the dragons.";
		next;
		mes "[Ferlock]";
		mes "To think about it, I have to admit that I made a mistake by not taking the fact that the dragons make approaching Hugel dangerous into consideration.";
		next;
		mes "[Ferlock]";
		mes "Anyway, the ship was in critical condition due to an unexpected mechanical failure. Fortunately, a young skillful man managed to solve the problem. Now I remember his name; Thierry.";
		next;
		mes "[Ferlock]";
		mes "Now I can tell why he was so quiet and had such a sad face. You know where he was heading now. So, please bring the news to his fiance.";
		next;
		mes "[Ferlock]";
		mes "And if you ever meet him, please send him my gratitude and regards.";
		set hg_ma1,5;
		close2;
		cutin "",255;
		end;
	}
	else if(hg_ma1 == 5)
	{
		mes "[Ferlock]";
		mes "You better get going and send the news to the fiance.";
		close2;
		cutin "",255;
		end;
	}
	if (lght_air == 7 && lhz_heart == 11)
	{
		mes "[Ferlock]";
		mes "Ah, thank you for coming.";
		mes "Now, I wanted to ask you";
		mes "why you were investigating";
		mes "Ymir's Heart Piece. Are you";
		mes "merely curious, or did you";
		mes "have some special reason?";
		next;
		switch( select( "Just curious...","Well, there's someone I need to help..." ) )
		{
			case 1:
				mes "[Ferlock]";
				mes "Just curious...?";
				mes "I don't know if satisfying";
				mes "your curiosity is worth the";
				mes "risks that you have already";
				mes "taken. You should be more ";
				mes "careful in the future...";
				close2;
				cutin "",255;
				end;
			
			case 2:
				mes "[Ferlock]";
				mes "Well, I shouldn't be";
				mes "trusting you this much,";
				mes "but since you've helped";
				mes "me and my brother, I feel";
				mes "that you must be one of those altruistic adventurers. Very well.";
				next;
				mes "[Ferlock]";
				mes "If you promise that you'll";
				mes "never tell what I reveal to";
				mes "you, then I suppose I can";
				mes "tell you know about the Rune";
				mes "Stone and Ymir's Heart Piece.";
				next;
				switch( select( "I promise..." ) )
				{
					case 1:
						break;
				}
				mes "[Ferlock]";
				mes "Alright, then. I expect you";
				mes "to keep your word. Now, you";
				mes "already know that the Airships";
				mes "are powered by Rune Stones, imitations of Ymir's Heart pieces.";
				next;
				mes "[Ferlock]";
				mes "Although Rune Stones are";
				mes "inferior to true Ymir Heart";
				mes "pieces, we can make as many";
				mes "as want. As for true Ymir Heart";
				mes "Pieces, they're difficult to find or effectively reproduce.";
				next;
				mes "[Ferlock]";
				mes "You may have already";
				mes "figured this out, but all";
				mes "Rune Stones are produced";
				mes "in the Einbroch Laboratory";
				mes "for use in the Airships. So";
				mes "you see what's going on?";
				next;
				switch( select( "Wait, what's the Varmunt Project?" ) )
				{
					case 1:
						break;
				}
				mes "[Ferlock]";
				mes "The Varmunt Project is";
				mes "a continuation of one of";
				mes "the projects started by the";
				mes "great Sage, Varmunt. Even as";
				mes "a child, he was renown as an";
				mes "incredible genius, a prodigy.";
				next;
				mes "[Ferlock]";
				mes "However, no matter how";
				mes "much academic success he";
				mes "enjoyed--he even became a";
				mes "tenured professor at Juno";
				mes "University--Varmunt was never able to finance his own research.";
				next;
				mes "[Ferlock]";
				mes "Eventually, he accepted an";
				mes "offer from Rekenber Co. to";
				mes "develop an energy source in";
				mes "exchange for funding. The";
				mes "result of his work for them is the invention of the Rune Stone.";
				next;
				mes "[Ferlock]";
				mes "However, the public isn't";
				mes "supposed to know that Varmunt";
				mes "invented the Rune Stones. Now,";
				mes "Varmunt disappeared before he";
				mes "could perfect the Rune Stone";
				mes "creation process.";
				next;
				mes "[Ferlock]";
				mes "Therefore, the Rune Stones";
				mes "we have now are unstable and";
				mes "become useless after a while.";
				mes "The Varmunt Project aims to";
				mes "correct these flaws and perfect";
				mes "the Ymir Heart replication...";
				next;
				mes "[Ferlock]";
				mes "Er, anyway, that's why";
				mes "I was at the Einbroch";
				mes "Laboratory today. My Rune";
				mes "Stone was close to empty,";
				mes "so I went there to pick up";
				mes "a fully charged one.";
				next;
				mes "[Ferlock]";
				mes "^333333*Phew...*^000000";
				mes "Would you give me";
				mes "a moment to catch";
				mes "my breath before";
				mes "I continue? Yes,";
				mes "there's a little more...";
				set lhz_heart,12;
				close2;
				cutin "",255;
				end;
		}
	}
	else if(lght_air == 7 && lhz_heart == 12)
	{
		mes "[Ferlock]";
		mes "Now, "+strcharinfo(0)+",";
		mes "you must be wondering";
		mes "why I'm telling you all";
		mes "this. I believe that some";
		mes "party wishes to steal the";
		mes "Rune Stones from the Airships.";
		next;
		mes "[Ferlock]";
		mes "Have you noticed the";
		mes "Gremlins and Beholders";
		mes "that attack my brother's";
		mes "ship? Believe it or not,";
		mes "Gremlins are usually just";
		mes "harmless and mischievous.";
		next;
		mes "[Ferlock]";
		mes "Gremlin wings also aren't";
		mes "naturally powerful enough to";
		mes "enable them to fly. However,";
		mes "if someone implants Wills of";
		mes "the Darkness into them, their";
		mes "powers increase exponentially.";
		next;
		mes "[Ferlock]";
		mes "Although Gremlins tend";
		mes "not to attack humans unless";
		mes "provoked, and that they tend";
		mes "to shy away from people, they";
		mes "are being controlled to steal";
		mes "our Airships' Rune Stones.";
		next;
		mes "[Ferlock]";
		mes "Whoever is controlling the";
		mes "Gremlins also sends those";
		mes "Beholder monsters in order";
		mes "to monitor their progress";
		mes "and observe our resistance.";
		next;
		mes "[Ferlock]";
		mes "My brother and I have been";
		mes "investigating this matter, but";
		mes "so far, we haven't learned very";
		mes "much. Now, my Airship only";
		mes "provides domestic flights";
		mes "and hasn't been attacked.";
		next;
		mes "[Ferlock]";
		mes "Now, my brother's Airship";
		mes "specializes in international";
		mes "flights and suffers from the";
		mes "Gremlin invasions, so we are";
		mes "guessing the attackers are from outside the Schwaltzvalt Republic.";
		next;
		mes "[Ferlock]";
		mes "In any case, that is all";
		mes "I really know. Please keep";
		mes "this information to yourself";
		mes "and let me know if you learn anything new about this situation.";
		next;
		mes "[Ferlock]";
		mes "If I manage to uncover";
		mes "anything about the ones";
		mes "that are using the Wills";
		mes "of Darkness to control the";
		mes "Gremlins and steal our Rune";
		mes "Stones, I'll let you know.";
		next;
		mes "[Ferlock]";
		mes "Who is sending these";
		mes "monsters to invade our";
		mes "Airships, and for what";
		mes "purpose do they want the";
		mes "Rune Stones? Hmm. Well, this";
		mes "is goodbye for now, adventurer.";
		close2;
		specialeffect2 EF_ABSORBSPIRITS;
		set lhz_heart,13;
		getexp 700000,400000;
		cutin "",255;
		end;
	}
	else if(lght_air == 7 && lhz_heart == 13)
	{
		mes "[Ferlock]";
		mes "I'll be quite busy with my";
		mes "captaining duties and my";
		mes "private investigation of the";
		mes "attempted Rune Stone robberies.";
		mes "Hopefully, we'll be able to meet again later. For now, take care.";
		close2;
		cutin "",255;
		end;
	}
	mes "[]";
	mes "wfڭ̪ŸAڬOŸ";
	mes "sAаݻݭnO?";
	next;
	if(lght_air == 2) {
		set question2$, "Give him Tarlock's Letter.";
		set question3$, "";
	} else if(lght_air == 3) {
		set question2$, "Here are the items I've found.";
		set question3$, "";
	} else {
		set question2$, "";
		set question3$, "";
	}
	switch( select( "аݭŸOp󭸦檺O?", ""+question2$+"", ""+question3$+"")) {
	case 1:
		mes "[]";
		mes "ܩpAOݩṳ~D";
		mes "KAн̸ѵLkV~HzS";
		close2;
		cutin "",255;
		end;
		
	case 2:
		if (lght_air == 2) {
		set lght_air, 3;
		mes "^3131FFYou give Captain Ferlock";
		mes "the letter that his brother";
		mes "Tarlock has written for him.^000000";
		next;
		mes "[Ferlock]";
		mes "Oh, this is from my";
		mes "brother? Hey, thanks so";
		mes "much for bringing this to";
		mes "me for him. Ah, give me";
		mes "a minute to read all of";
		mes "this, would you now?";
		next;
		mes "[Ferlock]";
		mes "...";
		mes "So that's what he's been";
		mes "up to. Huh. Hahaha! Oh, that's";
		mes "funny. Ah, it's always good to";
		mes "hear from Tarlock. Anyway,";
		mes "I'm sorry to make you wait.";
		next;
		mes "[Ferlock]";
		mes "Anyway, my brother wrote";
		mes "about the usual stuff, but";
		mes "he mentioned that he was";
		mes "hoping to finally return a few";
		mes "things he borrowed from me.";
		mes "However, he lost them...";
		next;
		mes "[Ferlock]";
		mes "It turns that those nasty";
		mes "gremlins that sometimes";
		mes "attack his ship stole my";
		mes "things, so was he actually";
		mes "hoping that you would";
		mes "help me get them back.";
		next;
		mes "[Ferlock]";
		mes "Yeah, yeah. He specifically";
		mes "mentioned that I shouldn't";
		mes "give you my reply until you";
		mes "hunt those monsters and get";
		mes "my stuff back. I'm sorry, but";
		mes "I guess you owe big bro, huh?";
		next;
		mes "[Ferlock]";
		mes "Well, if you're willing to";
		mes "help me, would you get my";
		mes "^ff00002 Will of the Darkness^000000 and";
		mes "^ff00002 Prickly Fruit^000000 back for me?";
		next;
		mes "[Ferlock]";
		mes "The monsters that attack";
		mes "Tarlock's Airship should";
		mes "have them. I'd appreciate";
		mes "it if you'd help me out on";
		mes "this, adventurer. Thanks";
		mes "in advance and good luck~";
		close2;
		cutin "",255;
		end;
		} else if(lght_air == 3) {
			if (countitem(7340) >= 2 && countitem(576) >= 2) {
				delitem 7340, 2;
				delitem 576, 2;
				set lght_air, 4;
				mes "[Ferlock]";
				mes "You brought the items!";
				mes "Thank you very much.";
				mes "Here, take this letter";
				mes "to my brother and give it";
				mes "to him.";
				next;
				mes "^3131ffYou received a letter from the Captain.^000000";
				next;
				mes "[Ferlock]";
				mes "Please give the best regards";
				mes "to my big brother.";
				mes "Well then, good bye.";
				close2;
				cutin "",255;
				end;
			}
				mes "[Ferlock]";
				mes "Oh, I'm sorry, but it looks";
				mes "like you're missing something.";
				mes "Would you please go and find";
				mes "^ff00002 Will of the Darkness^000000 and";
				mes "^ff00002 Prickly Fruit^000000? Thanks,";
				mes "brave adventurer~";
				close2;
				cutin "",255;
				end;
		}
		mes "[]";
		mes "򯬧Aȳ~wr";
		close2;
		cutin "",255;
		end;	
	case 3:
		mes "[Ferlock]";
		mes "Well, I hope that";
		mes "you enjoy your time";
		mes "here on the Airship";
		mes "and that you have a";
		mes "very pleasant journey.";
		close2;
		cutin "",255;
		end;
	}
}

//=======================================================================================================//
//				Heart Fragment Quest
//=======================================================================================================//

airplane,236,63,4	script		706,{

	if(hg_ma1 == 3)
	{
		mes "[]";
		mes "Sha Sha~ ";
		next;
		mes "[]";
		mes "Just let me handle this! Hehe. ";
		next;
		switch( select( "Ask whether he knows Thierry" ) )
		{
			case 1:
				break;
		}
		mes "[]";
		mes "Hmm?! Thierry?! I'm not sure. Why don't you ask the crew of the airship.";
		mes "Kaci might know this person.";
		close;
	}
	if(BaseLevel < 60)
	{
		mes "[]";
		mes "If you need me to";
		mes "do anything, just";
		mes "give me a holler.";
		mes "Bweh heh... hollah~";
		close;
	}
	if(!lhz_heart)
	{
		mes "[]";
		mes "Howdy, howdy~";
		mes "Welcome to the Airship.";
		next;
		switch( select( "I'm not a passenger.","Hey kid, what are you doing?" ) )
		{
			case 1:
				emotion e_what,0;
				mes "[]";
				mes "Does that mean you're";
				mes "one of the crewmen, then?";
				mes "I don't think we've met before,";
				mes "and I should be familiar with";
				mes "everyone working here by now...";
				next;
				emotion e_gasp,0;
				mes "[]";
				mes "Hey...!";
				mes "If you're on duty,";
				mes "shouldn't you be in";
				mes "uniform? I guess you";
				mes "don't work here after all!";
				mes "Heh, figured it out myself~";
				next;
				mes "[]";
				mes "Eh, I need to finish";
				mes "sweeping this deck. Then,";
				mes "on my break, I can play a";
				mes "little game for Apples with";
				mes "Kaci. That's how I roll, yo.";
				next;
				break;
				
			case 2:
				mes "[]";
				mes "Ummm... Isn't it obvious?";
				mes "I'm sweeping the deck. I'm";
				mes "the youngest crewman, so";
				mes "I get stuck with the lamest";
				mes "jobs. But once I'm done, it's";
				mes "Dice time with Kaci. Oh yeah~";
				next;
				break;
		}
		switch( select( "Kaci?" ) )
		{
			case 1:
				break;
		}
		mes "[]";
		mes "Kaci... You know, the";
		mes "dealer of the Dice game?";
		mes "You should try it out: just";
		mes "roll some dice for a chance";
		mes "to win some Apples. Hey,";
		mes "you could get really lucky!";
		next;
		mes "[]";
		mes "Heh, there's one guy that";
		mes "won so many Apples from Kaci";
		mes "that he was able to become";
		mes "an Apple Merchant. Can you";
		mes "believe that? Yeah... Kaci";
		mes "doesn't like him so much...";
		close2;
		set lhz_heart,1;
		end;
	}
	else if(lhz_heart == 1)
	{
		mes "[]";
		mes "Oh hey, it's you~";
		mes "We talked earlier,";
		mes "didn't we? Yeah...";
		mes "I'm still here sweeping";
		mes "this floor. It's gonna";
		mes "take quite a while.";
		next;
		emotion e_gasp,0;
		mes "[]";
		mes "It doesn't look like";
		mes "I'm gonna finish this";
		mes "anytime soon. Hey, do";
		mes "you think you could do";
		mes "me a favor since I can't";
		mes "really leave this joint?";
		next;
		switch( select( "Sorry, but I'm busy...","What is it?" ) )
		{
			case 1:
				mes "[]";
				mes "Eh, alright. I guess";
				mes "I can understand. But";
				mes "still, I coulda made it";
				mes "worth your while, if you";
				mes "know what I mean~";
				close;

			case 2:
				mes "[]";
				mes "Don't worry, it's not much";
				mes "work. I'm supposed to deliver";
				mes "letters from Juno Airport to";
				mes "the other crewmen, but I don't";
				mes "got the time. Now, I have";
				mes "this letter for Kaci here...";
				next;
				mes "[]";
				mes "Would you go and";
				mes "deliver this letter";
				mes "to her for me? It's";
				mes "from some guy named";
				mes "Mr. Mawong, her mentor";
				mes "or something like that.";
				next;
				mes "^3355FF gave you";
				mes "Mawong's letter to";
				mes "be delivered to Kaci.^000000";
				set lhz_heart,2;
				next;
				mes "[]";
				mes "Hey, thanks a lot, pal~";
				mes "You can find Kaci hosting";
				mes "the Dice game in the Airship.";
				close;
		}
	}
	else if(lhz_heart == 2)
	{
		mes "[]";
		mes "^333333*Sigh...*^000000";
		mes "I'm so sick and";
		mes "tired of sweeping.";
		mes "It's like I'm some";
		mes "kinda lame cabin boy.";
		mes "But... I guess I am!";
		next;
		mes "[]";
		mes "Oh hey, were you";
		mes "able to give that";
		mes "letter to Kaci yet?";
		mes "I think it's pretty";
		mes "important, so try not";
		mes "to take too long, okay?";
		close;
	}
	else if(lhz_heart == 3)
	{
		mes "[]";
		mes "^333333*Sigh...*^000000";
		mes "I'm so sick and";
		mes "tired of sweeping.";
		mes "It's like I'm some";
		mes "kinda lame cabin boy.";
		mes "But... I guess I am!";
		close;
	}
	else if(lhz_heart == 4)
	{
		mes "[]";
		mes "Hey, thanks for delivering";
		mes "that letter to Kaci for me.";
		mes "She wasn't too happy that";
		mes "I asked a passenger to do";
		mes "it, but she understood that";
		mes "I'm totally swamped with work.";
		next;
		mes "[]";
		mes "Wouldn't you agree";
		mes "that people should";
		mes "help each other in";
		mes "times of crisis?";
		next;
		switch( select( "Not at all. Every man for himself!","Yes, I do." ) )
		{
			case 1:
				mes "[]";
				mes "Wh-what...?";
				mes "I can't think";
				mes "that you really";
				mes "believe that...";
				set lhz_heart,5;
				close;

			case 2:
				mes "[]";
				mes "Aww, really?";
				mes "I knew that you'd";
				mes "feel the same way";
				mes "I do. You and me, we're";
				mes "on the same wavelength~";
				next;
				if(checkweight(501,1) != 1)
				{
					mes "[]";
					mes "Oh... Hey, I was";
					mes "going to give you";
					mes "a little something,";
					mes "but you're carrying";
					mes "too much stuff right now...";
					close;
				}
				set lhz_heart,5;
				getitem 501,1;
				mes "[]";
				mes "I know this isn't";
				mes "much, but I'd like you";
				mes "to have it. Besides, you";
				mes "never know what'll come in";
				mes "handy during an emergency.";
				mes "Alright then, see you later~";
				close;
		}
	}
	else if(lhz_heart == 5)
	{
		mes "[]";
		mes "Hey, hey~ How's it going?";
		mes "I know, I know, I'm supposed";
		mes "to be sweeping, and I'm not";
		mes "finished yet, but sometimes,";
		mes "you know, you just have to";
		mes "rest and take a break, yeah?";
		next;
		mes "[]";
		mes "Ahh, busy days like these";
		mes "remind me of working back";
		mes "home in Juno with my neighbor,";
		mes "Gyver. He's a genius inventor,";
		mes "you know, and sort of like";
		mes "a hero or role model to me.";
		next;
		mes "[]";
		mes "Guyver is so brilliant,";
		mes "he can pretty much make";
		mes "anything he wants. Someday,";
		mes "I want to reach his level, and";
		mes "create things that will help";
		mes "people and make them happy.";
		next;
		mes "[]";
		mes "That's pretty much my";
		mes "life ambition-- you know,";
		mes "the kind of thing I want to";
		mes "contribute to the world. Of";
		mes "course, I doubt I can compare";
		mes "to the great Sage Varmunt.";
		next;
		switch( select( "Sage Varmunt?" ) )
		{
			case 1:
				break;
		}
		mes "[]";
		mes "Yeah, Varmunt... He's like";
		mes "one of the greatest Sages in";
		mes "history. Well, nobody know too";
		mes "much about him, but 300 years";
		mes "ago, he was responsible for most ground breaking accomplishments.";
		next;
		mes "[]";
		mes "Supposedly, he single handedly";
		mes "revolutionized science. Many of";
		mes "the machines that are convenient to life today are his inventions.";
		mes "Sadly, he disappeared from history and no one know how he vanished.";
		next;
		mes "[]";
		mes "The great Sage Varmunt...";
		mes "It's a pretty well known";
		mes "legend in the Schwaltzvalt";
		mes "Republic. Anyway, for my";
		mes "project, I wanted to learn";
		mes "more about these Airships.";
		next;
		mes "[]";
		mes "These Airships are so huge";
		mes "and heavy, and I can scarcely";
		mes "believe that they can fly. How";
		mes "is it even possible? Well, if";
		mes "you could find out for me, ";
		mes "it'd be a really big help.";
		set lhz_heart,6;
		close;
	}
	else if(lhz_heart == 6)
	{
		mes "[]";
		mes "Hey, have you learned";
		mes "what makes such a big,";
		mes "heavy Airship like this fly";
		mes "for so long in the sky?";
		next;
		if(lght_air == 7)
		{
			switch( select( "Umm, yeah, kind of." ) )
			{
				case 1:
					break;
			}
			mes "[]";
			mes "Really...?";
			mes "Are you serious?";
			mes "So what's the secret?";
			mes "Tell me, I'm dying to know!";
			next;
			mes "^3355FFYou tell  everything";
			mes "that you've learned from";
			mes "Captain Tarlock, but you're";
			mes "careful not to make any";
			mes "mention of Ymir's Heart Piece.^000000";
			next;
			mes "[]";
			mes "So... The propellers are";
			mes "powered through steam?";
			mes "That doesn't make sense.";
			mes "No way, it can't be that simple. Besides, steam has its limits.";
			mes "Are you sure that's everything?";
			next;
			switch( select( "Actually, there's another power source." ) )
			{
				case 1:
					break;
			}
			mes "^3355FFYou reveal what you";
			mes "learn about the Rune Stone,";
			mes "an imitation of Ymir's Heart";
			mes "Piece:  is a well meaning";
			mes "kid who probably won't use this";
			mes "knowledge for evil purposes.";
			next;
			mes "[]";
			mes "A-awesome! So there is";
			mes "some special magic power";
			mes "source that helps this Airship";
			mes "fly! I knew it! Now, what was";
			mes "it called again? Ah, the";
			mes "Rune Stone, right?";
			next;
			mes "[]";
			mes "An imitation of Ymir's";
			mes "Heart Piece. Now where";
			mes "have I heard about that";
			mes "before? Mm, let me think...";
			set lhz_heart,7;
			close;
		}
		else
		{
			switch( select( "Actually..." ) )
			{
				case 1:
					break:;
			}
			mes "[]";
			mes "You didn't learn anything";
			mes "about the Airship yet, huh?";
			mes "Maybe Captain Ferlock might";
			mes "know something, or any one";
			mes "of the other Airship captains.";
			mes "Hopefully, one will tell you...";
			next;
			mes "[]";
			mes "I know that the secrets of";
			mes "Airship flight is considered";
			mes "classified information, but if";
			mes "anyone can wrest those secrets,";
			mes "it'll be one of you adventurers. So please help me out here...";
			close;
		}
	}
	else if(lhz_heart == 7)
	{
		mes "[]";
		mes "So the Rune Stone";
		mes "is an imitation of just";
		mes "a piece of Ymir's Heart.";
		mes "But where have I heard";
		mes "about that before...?";
		next;
		emotion e_gasp,0;
		mes "[]";
		mes "Oh, that's right!";
		mes "Kaci told me about a";
		mes "drunkard that always";
		mes "mentions Ymir's Heart";
		mes "when he plays the Dice";
		mes "game for Apples!";
		next;
		if(Shinokas_Quest > 9)
		{
			mes "["+strcharinfo(0)+"]";
			mes "(^333333Wait, I met that guy when";
			mes "I was helping Shinokas. He";
			mes "was one of the directors of";
			mes "the Einbroch Laboratory that";
			mes "had a piece of Ymir's Heart.";
			mes "It's worth investigating...^000000)";
			next;
		}
		mes "[]";
		mes "Anyway, it's not much,";
		mes "but let me give you a little";
		mes "something for going through";
		mes "the trouble of learning that";
		mes "secret information for me...";
		next;
		if(checkweight(501,1) != 1)
		{
			mes "[]";
			mes "Aw, nuts...";
			mes "You don't have";
			mes "enough room to";
			mes "receive my little gift.";
			mes "Please free up more space";
			mes "in your inventory for me, okay?";
			close;
		}
		if(Shinokas_Quest > 9) set lhz_heart,9;
		else set lhz_heart,8;
		getitem 501,1;
		mes "[]";
		mes "Here you go~";
		mes "I know it's pretty paltry";
		mes "compared to the rewards ";
		mes "you adventurers usually get,";
		mes "but hey... It's my thought that";
		mes "counts, right? See you later~";
		close;
	}
	else if(lhz_heart == 8)
	{
		mes "[]";
		mes "Hey, why don't you";
		mes "ask Kaci about that";
		mes "drunkard that's always";
		mes "playing her Dice game?";
		mes "You might learn more about";
		mes "Ymir's Heart Piece, you know?";
		close;
	}
	else
	{
		mes "[]";
		mes "Thanks for helping me";
		mes "out that last time. I guess";
		mes "learning about the Rune Stone";
		mes "kinda inspired me to build an";
		mes "Airship of my own someday...";
		close;
	}
}

airplane,33,69,4	script	Kaci	73,{

	if(hg_ma1 == 3)
	{
		mes "[Kaci]";
		mes "Hello there. My name is Kaci. If you feel bored boarding the airship, why don't you play a game of dice with me.";
		next;
		switch( select( "Ask whether she knows Thierry" ) )
		{
			case 1:
				break;
		}
		mes "[Kaci]";
		mes "Thierry ....That name sounds familiar...";
		next;
		mes "[Kaci]";
		mes "....................";
		mes ".............";
		mes ".......";
		mes "...";
		next;
		mes "[Kaci]";
		mes "Ahhh! Thierry Thierry Thierry !!";
		next;
		mes "^3355FFShe seems to recall something and starts to call out the name loudly.^000000";
		next;
		mes "[Kaci]";
		mes "Hahaha, I'm sorry about that. It has been a while since I last heard that name...";
		next;
		mes "[Kaci]";
		mes "He was the youngster who lived beside my master when I was learning how games work. I still remember that he is very bright and that he did different kinds of researches.";
		next;
		mes "[Kaci]";
		mes "I also recall that he likes the Euslan's sister who's being taught about the game by my master too. I wonder how the two of them are getting along nowadays.";
		next;
		mes "^3355FFI tell the girl that Euslan has engaged with Thierry and in order to cure Euslan, Thierry boarded an airship but his whereabouts is a mystery now.^000000";
		next;
		mes "[Kaci]";
		mes "Oh, how could Euslan fall sick? Oh...";
		next;
		mes "^3355FFKaci is so shocked to learn about Thierry that she loses herself in her thoughts for a while until regaining conciousness.^000000";
		next;
		mes "[Kaci]";
		mes "Honestly, I would like to help but I haven't heard anything new from them since we haven't seen eachother for such a long time.";
		next;
		mes "[Kaci]";
		mes "Isn't there any other way?";
		next;
		mes "[Kaci]";
		mes "Ah...! The captain might know something. He is the one who manages the list of the passengers.";
		next;
		mes "[Kaci]";
		mes "However, the passenger list cannot be shown to the public...";
		next;
		mes "[Kaci]";
		mes "However, I think the captain will be willing to help if you tell him the whole story. You should give it a try.";
		next;
		mes "[Kaci]";
		mes "As for Euslan, please tell her about me and let her know that I hope she gets well soon.";
		next;
		mes "^3355FFSince she's begging, I guess I should send her message.";
		set hg_ma1,4;
		close;
	}
	else if(hg_ma1 == 4)
	{
		mes "[Kaci]";
		mes "You can ask the captain for the whereabouts of Thierry. I am sure that the captain will be willing to help if you tell him what happened.";
		close;
	}
	else if(lhz_heart == 2)
	{
		mes "[Kaci]";
		mes "You must be sooo";
		mes "bored, adventurer~";
		mes "How would you like";
		mes "to play a game of Dice?";
		next;
		switch( select( "Give her the letter from ." ) )
		{
			case 1:
				break;
		}
		mes "[Kaci]";
		mes "Oh,  must have";
		mes "asked you to deliver this.";
		mes "He should be doing this sort";
		mes "of thing himself, instead of";
		mes "asking customers for favors!";
		mes "But still, he's really busy...";
		next;
		set lhz_heart,3;
		mes "[Kaci]";
		mes "Thank you for bringing";
		mes "this to me. If you ever";
		mes "need a little favor from";
		mes "me, feel free to ask me,";
		mes "alright? See you later~";
		close;
	}
	else if(lhz_heart == 3)
	{
		mes "[Kaci]";
		mes "Oh, hello. Thanks for";
		mes "delivering that letter from";
		mes "Mr. Mawong to me, especially";
		mes "since  was too busy to";
		mes "do it himself. Reading that";
		mes "letter really made my day~";
		next;
L_Ask:
		switch( select( "Ask about ","Ask about Mawong","Ask about the Airship" ) )
		{
			case 1:
				set .@mesa,1;
				mes "[Kaci]";
				mes "? Well, he and I are";
				mes "pretty close. Did you know";
				mes "that we're cousins? In fact,";
				mes "his dad, my uncle, brought";
				mes "me as a child after my father";
				mes "passed away 20 years ago.";
				next;
				mes "[Kaci]";
				mes "There was some kind of";
				mes "mine explosion accident in";
				mes "Einbech. I don't remember.";
				mes "Anyway, me and  are";
				mes "like sister and brother, and";
				mes "we always stick together.";
				next;
				mes "[Kaci]";
				mes "When Captain Ferlock saw me";
				mes "host a Dice game by coincidence";
				mes "and then hired me to work on his Airship,  insisted on coming";
				mes "along. He's stubborn like that,";
				mes "but he's also very sweet.";
				next;
				break;
				
			case 2:
				set .@mesb,1;
				mes "[Kaci]";
				mes "Mr. Mawong? Oh, don't get";
				mes "the wrong idea! He's my";
				mes "mentor, the one who taught";
				mes "me how to play all of these";
				mes "wonderful games. He's pretty";
				mes "famous around Juno, you know.";
				next;
				mes "[Kaci]";
				mes "I used to be so depressed,";
				mes "not caring about the world";
				mes "at all, after my father died.";
				mes "Then, I ran into Mr. Mawong,";
				mes "and he taught me how to find";
				mes "the joy in life once again.";
				next;
				mes "[Kaci]";
				mes "Because of him, I decided";
				mes "to learn his games and to";
				mes "help people forget their";
				mes "worries and just enjoy";
				mes "themselves, even if it's";
				mes "just for a little while.";
				next;
				break;
				
			case 3:
				set .@mesc,1;
				mes "[Kaci]";
				mes "The Airship? It's so";
				mes "huge and beautiful, and";
				mes "I'm always amazed that it";
				mes "can fly so gracefully through";
				mes "the air. I've always wanted to live someplace close to the sky...";
				next;
				mes "[Kaci]";
				mes "A place where I can see";
				mes "the clouds and bask in the";
				mes "sun. So, when Captain Ferlock";
				mes "invited me to work here, it was";
				mes "like a dream come true~";
				next;
				break;
		}
		mes "[Kaci]";
		mes "Please don't hesitate";
		mes "to ask me anything if";
		mes "you need a small favor,";
		mes "or if you're just curious";
		mes "about me in general~";
		next;
		if(!.@mesa || !.@mesb || !.@mesc) goto L_Ask;
		mes "[Kaci]";
		mes "By the way, if ";
		mes "bothers you with another";
		mes "request, please refuse to";
		mes "help him next time, okay?";
		mes "I won't allow him to get";
		mes "spoiled! Ho ho ho ho~";
		next;
		mes "[Kaci]";
		mes "Well, I better get";
		mes "back to work now.";
		mes "Have a nice day,";
		mes "and I'll see you later~";
		set lhz_heart,4;
		close;
	}
	else if(lhz_heart == 8)
	{
		mes "[Kaci]";
		mes "Hello, "+strcharinfo(0)+".";
		mes "It's nice to see you again.";
		mes "So is there anything I can";
		mes "help you with today?";
		next;
		switch( select( "Who's that drunk over there?" ) )
		{
			case 1:
				break;
		}
		mes "[Kaci]";
		mes "Oh, him? He's one of my";
		mes "regulars, some guy who's";
		mes "supposed to be an Einbroch";
		mes "Lab Director. He keeps losing";
		mes "Apples whenever he plays Dice:";
		mes "I think he's a gambling addict~";
		next;
		mes "[Kaci]";
		mes "In fact, his losses make up";
		mes "for all the Apples I lost when";
		mes "that Apple Merchant played here. Now, it's a legendary tale that";
		mes "we all think fondly of, but at";
		mes "the time, it nearly broke me.";
		next;
		mes "[Kaci]";
		mes "Anyway, aside from the fact";
		mes "that the Einbroch Lab Director";
		mes "is kind of a whiny person when";
		mes "he's drunk, and a poor gambler,";
		mes "I don't know much about him.";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "(^333333Einbroch Laboratory...";
		mes "It's so suspicious. That";
		mes "director knows about Ymir's";
		mes "Heart Piece, so they must be";
		mes "keeping something really";
		mes "important over there.^000000)";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "(^333333I better investigate";
		mes "that laboratory in Einbroch";
		mes "as soon as I can, even if it's";
		mes "a heavily restricted area.^000000)";
		set lhz_heart,9;
		close;
	}
	mes "[Kaci]";
	mes "You must be sooo";
	mes "bored, adventurer~";
	mes "How would you like";
	mes "to play a game of Dice?";
	next;
	callfunc "applegamble","Kaci";
	end;
}

ein_in01,279,25,0	script	#lab01_heart	139,1,1,{

OnTouch:
	if(lhz_heart == 9)
	{
		mes "["+strcharinfo(0)+"]";
		mes "(^333333I've... I've just";
		mes "got to investigate";
		mes "that laboratory and";
		mes "see if anything funny";
		mes "is going on in there.^000000)";
		close;
	}
}

ein_in01,264,17,0	script	#lab02_heart	139,1,1,{

OnTouch:
	if(lhz_heart == 9)
	{
		mes "["+strcharinfo(0)+"]";
		mes "What the...";
		mes "It's some sort of";
		mes "weird device. The label";
		mes "here says, ''Password";
		mes "Checker?'' Well, this";
		mes "might come in handy later.";
		next;
		mes "^3355FFYou decide to bring";
		mes "the Password Checker";
		mes "device with you into";
		mes "the laboratory.^000000";
		set lhz_heart,10;
		close;
	}
}

ein_in01,263,35,3	script	Ferlock#lab	873,{

OnInit:
	disablenpc "Ferlock#lab";
	stopnpctimer;
	end;

OnEnter:
	enablenpc "Ferlock#lab";
	initnpctimer;
	end;
	
OnEmote:
	emotion e_omg,0;
	end;

OnTimer120000:
	donpcevent "Ferlock#lab::OnInit";
	end;
}

ein_in01,261,35,0	script	lab03#heart	139,1,1,{

OnTouch:
	if(lhz_heart == 9)
	{
		mes "[Security System]";
		mes "^FF0000Unauthorized person";
		mes "detected. Password";
		mes "Checker not detected.";
		mes "Access denied.^000000";
		close;
	}
	else if(lhz_heart == 10)
	{
		mes "[Security System]";
		mes "^FF0000Enter the 3 digit password.";
		mes "You will be allowed 5 tries";
		mes "within 3 minutes to enter";
		mes "the correct password, or";
		mes "the password will reset.^000000";
		next;
		mes "[Password Checker]";
		mes "^333333Hint:";
		mes "Do not use the";
		mes "number 0, and do";
		mes "not enter any number";
		mes "more than once. Make";
		mes "sure the password is 3 digits.";
		next;
L_Recode:
		set @thanacode1,rand(1,9);
		set @thanacode2,rand(1,9);
		set @thanacode3,rand(1,9);
		if((@thanacode1 == @thanacode2) || (@thanacode1 == @thanacode3) || (@thanacode2 == @thanacode3)) goto L_Recode;
L_Input:
		input @thanainput;
		if((@thanainput < 100) || (@thanainput > 999))
		{
			mes "[Security System]";
			mes "^FF0000Error.";
			mes "The password entered";
			mes "exceeds the number digit";
			mes "limit. You must only enter";
			mes "3 digit passwords.^000000";
			close;
		}
		set @thanainput1,@thanainput / 100;
		set @thanainput2,(@thanainput % 100) / 10;
		set @thanainput3,@thanainput % 10;
		if ((@thanainput1 == 0) || (@thanainput2 == 0) || (@thanainput3 == 0))
		{
			mes "[Security System]";
			mes "^FF0000Error.";
			mes "You cannot enter the";
			mes "number 0, or use any";
			mes "other number more than";
			mes "once. Please try again.^000000";
			next;
			goto L_Input;
		}
		mes "[Security System]";
		mes "^ff0000"+strcharinfo(0)+"^000000";
		mes "has entered the following:";
		mes "^0000ff"+@thanainput1+"^000000 - ^0000ff"+@thanainput2+"^000000 - ^0000ff"+@thanainput3+"^000000. Please wait for";
		mes "authorization to complete.";
		set @thanatry,@thanatry +1;
		next;
		set @strike,0;
		set @ball,0;
		if(@thanainput1 == @thanacode1) set @strike,@strike +1;
		if(@thanainput2 == @thanacode2) set @strike,@strike +1;
		if(@thanainput3 == @thanacode3) set @strike,@strike +1;
		if((@thanainput1 == @thanacode2) || (@thanainput1 == @thanacode3)) set @ball,@ball +1;
		if((@thanainput2 == @thanacode1) || (@thanainput2 == @thanacode3)) set @ball,@ball +1;
		if((@thanainput3 == @thanacode1) || (@thanainput3 == @thanacode2)) set @ball,@ball +1;
		if(@strike == 3)
		{
			mes "[Security System]";
			mes "Authorization complete.";
			mes "Archive access granted.";
			next;
			mes "^3355FFThe archive door opens,";
			mes "revealing a series of";
			mes "filed documents. Out";
			mes "of all of them, one of the";
			mes "files grabs your attention.^000000";
			next;
			mes "Varmunt Project No. 3";
			mes "Security Level : Grade 1-C";
			mes " ";
			mes "Caution: Only project members";
			mes "of the Ymir Heart Synthesization project are authorized to view";
			mes "this classified document.";
			next;
			mes "Varmunt Project No. 3";
			mes "Security Level : Grade 1-C";
			mes " ";
			mes "All others found reading";
			mes "this document are subject";
			mes "to punishment or dismissal.";
			next;
			mes "^3355FFYou perceive the sound of";
			mes "footsteps and quickly try to";
			mes "return the document to its";
			mes "original place. However,";
			mes "the person that has come";
			mes "to the archive has already";
			mes "seen you holding the file.^000000";
			next;
			donpcevent "Ferlock#lab::OnEnter";
			mes "[Ferlock]";
			mes "Excuse me, but are";
			mes "you an employee here?";
			mes "I've come to pick up a";
			mes "new Rune Stone for the";
			mes "Airship. Wait, wait...";
			mes "You look familiar...";
			next;
			donpcevent "Ferlock#lab::OnEmote";
			mes "[Ferlock]";
			mes "That's right, aren't you the";
			mes "one who brought me my";
			mes "brother's letter? Yeah, you";
			mes "were asking me about the";
			mes "Airship's flight mechanics.";
			mes "So you're not an employee...";
			next;
			mes "[Ferlock]";
			mes "Boy, you must be more than";
			mes "curious to be looking up that";
			mes "information in a restricted";
			mes "area. But don't worry, you";
			mes "must have your reasons,";
			mes "so I won't call the guards.";
			next;
			mes "[Ferlock]";
			mes "Still, you better get out";
			mes "of here. The guards patrol";
			mes "this place regularly, so you're";
			mes "almost sure to get caught. Hmm,";
			mes "come and see me later at the";
			mes "Airship, alright? Now hurry!";
			close2;
			donpcevent "Ferlock#lab::OnInit";
			set lhz_heart,11;
			end;
		}
		mes "[Password Checker]";
		mes " ";
		mes "^333333Total of correct numbers";
		mes "in correct sequence: ^ff0000"+@strike+"^333333";
		mes "Total of correct numbers misplaced: ^ff0000"+@ball+"^333333.";
		mes "Please use these results";
		mes "to make a more accurate guess.^000000";
		next;
		if(@thanatry > 4)
		{
			mes "[Security System]";
			mes "^FF0000The correct password";
			mes "for this session was";
			mes "^000000"+@thanacode1+"^FF0000 - ^000000"+@thanacode2+"^000000 - ^000000"+@thanacode3+"^FF0000. Password";
			mes "will now be reset.^000000";
			set @thanatry,0;
			close;
		}
		mes "[Security System]";
		mes "Beeeeep!";
		mes "Incorrect password.";
		mes " ";
		if(@thanatry == 1) mes "Initialing 2nd attempt...^000000";
		if(@thanatry == 2) mes "Initialing 3rd attempt...^000000";
		if(@thanatry == 3) mes "Initialing 4th attempt...^000000";
		if(@thanatry == 4) mes "Initialing final attempt...^000000";
		next;
		goto L_Input;
	}
}

//========Explosions=======================

airplane_01,239,62,0	script	boom#air-1::boom	139,{
OnAttack:
	misceffect 183;
	end;
}
//==========Duplicates=============
airplane_01,244,55,0	duplicate(boom)	boom#air-2	139
airplane_01,239,50,0	duplicate(boom)	boom#air-3	139
airplane_01,245,59,0	duplicate(boom)	boom#air-4	139
airplane_01,245,48,0	duplicate(boom)	boom#air-5	139
airplane_01,235,39,0	duplicate(boom)	boom#air-6	139
airplane_01,252,41,0	duplicate(boom)	boom#air-7	139
airplane_01,252,63,0	duplicate(boom)	boom#air-8	139
airplane_01,234,65,0	duplicate(boom)	boom#air-9	139
airplane_01,227,67,0	duplicate(boom)	boom#air-10	139
airplane_01,249,50,0	duplicate(boom)	boom#air-0	139
